# @Time    :2025/3/24 11:46
"""
13）打印如下图形的*
	*
	* *
	* * *
	* * * *
	* * * * *


"""

# row = 1
# while row < 5:
# #    print("*" * row, end="\n")
#     print("*" * row)
#     row+=1
# print("-"*50)

# row2 = 1
# while row2 <= 5:
#     col = 1
#     while col <= row2:
#         print("*", end="")
#         col += 1
#     print()
#     row2 += 1

# for row in range(1, 6):
#     print("*" * row)
#     row += 1
# print("*" * 50)

# for i in range(1,6):
#     for j in range(0,i):
#         print("*",end="")
#     print()


for i in range(5):
    for j in range(0, i+1):
        print("*", end="")
    print()
